package com.lei.videoapp.model;

import com.lei.tong.retrofit.NetWorkManger;
import com.lei.videoapp.Api;
import com.lei.videoapp.contract.ShipContract;

import java.util.HashMap;

import io.reactivex.Observable;

public class ShipModel implements ShipContract.Model {
    @Override
    public Observable initdata(HashMap<String, String> map) {
        Api creat = NetWorkManger.getInstance("http://123.56.232.18:8080/").creat(Api.class);
        return creat.init(map);
    }

    @Override
    public void destroy() {

    }
}
